package com.hashbee.util;

import com.hashbee.bbs.bo.Avatar;

import java.util.HashMap;
import java.util.Map;

public class Common {

    public String getAvatarUrl(Avatar avatar) {
        // Map<String, String> hostMap = new HashMap<>();
        // hostMap.put("1", "http://imgcache1.qiniudn.com/");

        return "http://imgcache1.qiniudn.com/" + avatar.getKey();
    }
}
